Spread WPF Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcNpvFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 2 - 255 items: rate, [value1], [value2], ..

Rate is the rate of discount over the length of one period.

Value1, value2, ... are 1 to 254 arguments representing the payments and income.

Returns the System.Double net present value of a series of cash flows (in and out).
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcNpvFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 2 - 255 items: rate, [value1], [value2], ..

Rate is the rate of discount over the length of one period.

Value1, value2, ... are 1 to 254 arguments representing the payments and income.

Return Value

A System.Double value that indicates the evaluate result.
See Also

Reference

CalcNpvFunction Class
CalcNpvFunction Members
Overload List